package com.imc.beans;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TempUserInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "temp_user_info", catalog = "imcdbserver")
public class TempUserInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String nick;
	private Integer sex;
	private Integer dept;
	private String tel;
	private String mobile;
	private String EMail;
	private Integer lead;
	private String pwd;
	private String state;
	private Integer corpId;
	private Date regtime;

	// Constructors

	/** default constructor */
	public TempUserInfo() {
	}

	/** full constructor */
	public TempUserInfo(String name, String nick, Integer sex, Integer dept,
			String tel, String mobile, String EMail, Integer lead, String pwd,
			String state, Integer corpId, Date regtime) {
		this.name = name;
		this.nick = nick;
		this.sex = sex;
		this.dept = dept;
		this.tel = tel;
		this.mobile = mobile;
		this.EMail = EMail;
		this.lead = lead;
		this.pwd = pwd;
		this.state = state;
		this.corpId = corpId;
		this.regtime = regtime;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "name", length = 50)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "nick", length = 50)
	public String getNick() {
		return this.nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	@Column(name = "sex")
	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	@Column(name = "dept")
	public Integer getDept() {
		return this.dept;
	}

	public void setDept(Integer dept) {
		this.dept = dept;
	}

	@Column(name = "tel", length = 50)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "mobile", length = 50)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "e_mail", length = 50)
	public String getEMail() {
		return this.EMail;
	}

	public void setEMail(String EMail) {
		this.EMail = EMail;
	}

	@Column(name = "lead")
	public Integer getLead() {
		return this.lead;
	}

	public void setLead(Integer lead) {
		this.lead = lead;
	}

	@Column(name = "pwd", length = 50)
	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	@Column(name = "state", length = 1)
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "corp_id")
	public Integer getCorpId() {
		return this.corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

	@Column(name = "regtime", length = 19)
	public Date getRegtime() {
		return this.regtime;
	}

	public void setRegtime(Date regtime) {
		this.regtime = regtime;
	}

}